package com.bg.rpc.service.impl;

import com.bg.rpc.service.IDiff;

/**
 * @Auther: zhengshunzhi
 * @Date: 2018/8/24 16:10
 * @Description: 接口实现类
 */
public class IDiffImpl implements IDiff {
    public double diff(double a, double b) {
        return a - b;
    }

    public int sum(int a, int b) {
        return a + b;
    }

    @Override
    public int mult(int a, int b) {
        return a * b;
    }
}
